package com.farm.dao;

import com.farm.opjo.Disease;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
@Repository
public interface DiseaseMapper extends Mapper<Disease> {
    @Select("select * from  t_disease where name=#{name}")
    Disease selectByName(String name);
}
